package com.insideClass.AnonymityInsideClass;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 13699
 */
public class GenericsAndCovariance {
    public static void main(String[] args) {
        List<? extends Fruit> flist=new ArrayList<Apple>();
        flist.add(null);
        Fruit f=flist.get(0);
    }
}
